package receiver

import (
	"toyota-server/model"
)

var AlertDataMap1 *model.AlertDataMapStu
var AlertDataMap2 *model.AlertDataMapStu
var AlertDataMap3 *model.AlertDataMapStu
var AlertDataMap4 *model.AlertDataMapStu

func init() {
	AlertDataMap1 = model.NewAlertDataMap("ss_centrifuge")
	AlertDataMap2 = model.NewAlertDataMap("fc_centrifuge")
	AlertDataMap3 = model.NewAlertDataMap("ss_mcquay")
	AlertDataMap4 = model.NewAlertDataMap("fc_mcquay")

	go AlertDataMap1.AlertHandle()
	go AlertDataMap2.AlertHandle()
	go AlertDataMap3.AlertHandle()
	go AlertDataMap4.AlertHandle()
}
